<!--  -->
<template>
  <div>
    <c-title :hide="false" :text="title"></c-title>
    <van-search v-model="value" placeholder="请输入" shape="round" @search="onSearch"/>
    <comVideo :isArrShow="isArrShow" :isShowTest="true" :name="name" :business_id="business_id" :lip_duration_unused="lip_duration_unused"></comVideo>
  </div>
</template>

<script>
import comVideo from "./comVideo";
export default {
  data() {
    return {
      value: "",
      name: "",
      isArrShow: [],
      title: "",
      business_id: 0,
      lip_duration_unused: ""
    };
  },

  created() {},
  activated() {
    this.title = this.$route.query.title;
    this.fun.setWXTitle(this.$route.query.title);
  },
  components: { comVideo },


  computed: {},

  mounted() {
    this.isArrShow = [this.$route.query.isArrShow*1]
    this.business_id = this.$route.query.business_id;
    this.lip_duration_unused = this.$route.query.lip_duration_unused;
    console.log(this.$route.query,3232323);
  },

  methods: {
    onSearch(e) {
      this.name = this.value;
    }
  }
};
</script>
<style lang="scss" rel="stylesheet/scss" scoped>

</style>
